import request from '@/util/request.js'

export function getCodeImg() {
	return request({
		url: '/code',
		method: 'get',
	})
}
// 注册方法
export function register(data) {
	return request({
		url: '/auth/register',
		method: 'post',
		data: data
	})
}
